import request from '@/utils/request'

// 查询ADE KB Records列表
export function listAdekbrecord(query) {
  return request({
    url: '/ade/adekbrecord/list',
    method: 'get',
    params: query
  })
}

// 查询ADE KB Records详细
export function getAdekbrecord(id) {
  return request({
    url: '/ade/adekbrecord/' + id,
    method: 'get'
  })
}

// 新增ADE KB Records
export function addAdekbrecord(data) {
  return request({
    url: '/ade/adekbrecord',
    method: 'post',
    data: data
  })
}

// 修改ADE KB Records
export function updateAdekbrecord(data) {
  return request({
    url: '/ade/adekbrecord',
    method: 'put',
    data: data
  })
}

// 删除ADE KB Records
export function delAdekbrecord(id) {
  return request({
    url: '/ade/adekbrecord/' + id,
    method: 'delete'
  })
}
